From: Sebastian Keller Date: Sun, 1 Mar 2026 01:37:51 +0000 (+0100) Subject: st/entry: Fix clutter action leak when unsetting icon X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~28^2~4^2^2~15 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c0d6b5369b6ac9e84f3557fe5e8d36b54daaeb92;p=gnome-shell.git st/entry: Fix clutter action leak when unsetting icon The name of the removed action did not match the added one anymore, effectively "leaking" an action whenever an icon was shown and hidden. This was primarily affecting the clear button in the shell search. Fixes: 0bf49afda ("Replace ClutterClickAction with new ClutterClickGesture") Part-of: (cherry picked from commit a77dbe3d883adb6232bd455ea3c3deb86a61ed50) --- diff --git a/src/st/st-entry.c b/src/st/st-entry.c index 963cb5a4a..83960b3b4 100644 --- a/src/st/st-entry.c +++ b/src/st/st-entry.c @@ -1360,7 +1360,7 @@ _st_entry_set_icon (StEntry *entry, { if (*icon) { - clutter_actor_remove_action_by_name (*icon, "entry-icon-action"); + clutter_actor_remove_action_by_name (*icon, "entry-icon-click-gesture"); clutter_actor_remove_child (CLUTTER_ACTOR (entry), *icon); *icon = NULL; }